package cn.com.taiji.oospub.wechat.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.github.dreamyoung.mprelation.AutoLazy;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 菜品分类
 * </p>
 *
 * @author 
 * @since 2020-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AutoLazy
public class CourseType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 中文名
     */
    private String nameCh;

    /**
     * 英文名
     */
    private String nameEn;

    /**
     * 序号
     */
    private BigDecimal listNum;

    /**
     * 状态
     */
    private String isDelete;

    /**
     * 创建者
     */
    private String userName;

    /**
     * 创建时间
     */
    private LocalDateTime lastChanged;

    private String code;

    private String componentOpx;

    /*临时字段*/
    @TableField(exist = false)
    private List<Courses> monList;
    @TableField(exist = false)
    private List<Courses> tueList;
    @TableField(exist = false)
    private List<Courses> wedList;
    @TableField(exist = false)
    private List<Courses> thuList;
    @TableField(exist = false)
    private List<Courses> friList;
    @TableField(exist = false)
    private List<Courses> satList;
    @TableField(exist = false)
    private List<Courses> sunList;
    @TableField(exist = false)
    private List<Courses> weekList;

    @TableField(exist = false)
    private List<Courses> dCList;
    @TableField(exist = false)
    private List<Courses> wMList;
    @TableField(exist = false)
    private List<Courses> yDList;

    @TableField(exist = false)
    private String name;

}
